package com.runoob;

import lombok.Data;

/**
 * 人类
 * <p>
 *
 * </p>
 *
 * @author zenglei
 * @date 2023/06/05/ 16:01
 */
@Data
public class Person {

    /**
     * 姓名
     */
    private String name;

    /**
     * 性别
     */
    private String gender;

    /**
     * 婚姻状态
     */
    private String maritalStatus;

    public Person() {}

    public Person(String name, String gender, String maritalStatus) {
        this.name = name;
        this.gender = gender;
        this.maritalStatus = maritalStatus;
    }
}
